package com.miniapp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;


import java.math.BigDecimal;

/**
 * 产品价格表
 * 
 * @author linyuchi
 * @email xunli-03@163.com
 * @date 2018-05-18 16:32:05
 */
@SuppressWarnings("serial")
@TableName("mini_product_price")
public class MiniProductPriceEntity extends BaseEntity{


	/**
     * 产品价格
     */
	private BigDecimal price;
	
	/**
     * 产品ID
     */
	private Long productId;

	/**
	 * 产品
	 */
	@TableField(exist = false)
	private MiniProductEntity miniProduct;
	
	/**
     * 时间
     */
	private Integer day;

	/**
	 * 排序
	 */
	private Integer sort;
	
	
	/**
     * 类型
     */
	private String type;


	/**
	 * 产品名称
	 */
	@TableField(exist = false)
	private String productName;
	/**
	 *创建者
	 */
	private Long createUserId;

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public MiniProductEntity getMiniProduct() {
		return miniProduct;
	}

	public void setMiniProduct(MiniProductEntity miniProduct) {
		this.miniProduct = miniProduct;
	}

	public Integer getDay() {
		return day;
	}

	public void setDay(Integer day) {
		this.day = day;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}
}
